package com.smartEdu.mapper;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.smartEdu.dao.UserParamDao;
import com.smartEdu.model.CreateRongGroupModel;
import com.smartEdu.model.FindFriendModel;
import com.smartEdu.model.FriendTabModel;
import com.smartEdu.model.JoinRongGroupModel;
import com.smartEdu.model.RongCloudModel;
import com.smartEdu.model.UserStudentParamModel;

@Mapper
public interface RongCloudMapper {
	  public void AddOrUpdate(RongCloudModel model);
	  public void CreateGroup(CreateRongGroupModel model);
	  public List<CreateRongGroupModel> getGroupById(String groupId);
	  public List<CreateRongGroupModel> getGroupInfo();
	  public void addFriendTab(FriendTabModel model);
	  public List<FriendTabModel> queryfriend(HashMap<String,String> map);
	  public List<FindFriendModel> allMyFriend(String id);
	  public List<CreateRongGroupModel> getGroupByUserId(String userid);
	  public void insertGroup(List<JoinRongGroupModel> list);
	  public void deleteFriendById(FriendTabModel model);
}
